package com.mohe.shanpao.utils;

import java.text.DecimalFormat;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public final class Constants 
{
	public static final String HOST_REGEX = "[\\w\\-_]+(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^=%&amp;:/~\\+#]*[\\w\\-\\@?^=%&amp;/~\\+#])?";
	//
	public final static String DEFAULT_SPLIT_WORD = "\b";
	public final static String COMMON_SPLIT_WORD = "_";
	public final static String CHINESE_SPLIT = "[。|！|？|：|；|，|.|!|?|:|,|\\s+]";
	public final static DecimalFormat DF = new DecimalFormat("#.##########");
	public final static String DEFAULT_ENCODING = "utf-8";

	public final static Map<String, String> PERMS_MAP = new ConcurrentHashMap<String, String>();
	
	public final static String SYS_USER_INFO = "SYS_USER_INFO";
	
	public final static String DEAFULT_ALGORITHM_NAME = "MD5";
}
